package com.muyu.system.service;

import com.muyu.system.domain.DanmoShoppingUser;

import java.util.List;

/**
 * 商品关注Service接口
 *
 * @author yangle
 * @date 2024-09-29
 */
public interface IDanmoShoppingUserService
{
    /**
     * 查询商品关注
     *
     * @param id 商品关注主键
     * @return 商品关注
     */
    public DanmoShoppingUser selectDanmoShoppingUserById(Long id);

    /**
     * 查询商品关注列表
     *
     * @param danmoShoppingUser 商品关注
     * @return 商品关注集合
     */
    public List<DanmoShoppingUser> selectDanmoShoppingUserList(DanmoShoppingUser danmoShoppingUser);

    /**
     * 新增商品关注
     *
     * @param danmoShoppingUser 商品关注
     * @return 结果
     */
    public int insertDanmoShoppingUser(DanmoShoppingUser danmoShoppingUser);

    /**
     * 修改商品关注
     *
     * @param danmoShoppingUser 商品关注
     * @return 结果
     */
    public int updateDanmoShoppingUser(DanmoShoppingUser danmoShoppingUser);

    /**
     * 批量删除商品关注
     *
     * @param ids 需要删除的商品关注主键集合
     * @return 结果
     */
    public int deleteDanmoShoppingUserByIds(Long[] ids);

    /**
     * 删除商品关注信息
     *
     * @param id 商品关注主键
     * @return 结果
     */
    public int deleteDanmoShoppingUserById(Long id);

    DanmoShoppingUser selectUserFlagship(DanmoShoppingUser danmoShoppingUser);

    void addUserFlagship(DanmoShoppingUser danmoShoppingUser);

    void deleteUserFlagship(DanmoShoppingUser danmoShoppingUser);
}
